package com.example.demo.client.evt.cssmqry.resource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Author linxiao
 * @Date 2020/06/24  17:14
 */
@ApiModel
public class GetResourceTreeEvt implements Serializable {
    private static final long serialVersionUID = 2663788041835742299L;
    @ApiModelProperty("被资源关联对象类型")
    private String objectType;
    @ApiModelProperty("被资源关联对象类型ID")
    private Long objectId;
    @ApiModelProperty("资源类型ID")
    private Long resourceType;
    @ApiModelProperty("资源地址")
    private String resourceSource;
    @ApiModelProperty("默认不需要设置选中")
    private Boolean checked = false;

    @Override
    public String toString() {
        return "GetResourceTreeEvt{" +
            "objectType='" + objectType + '\'' +
            ", objectId=" + objectId +
            ", resourceType=" + resourceType +
            ", resourceSource='" + resourceSource + '\'' +
            ", checked=" + checked +
            '}';
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public String getResourceSource() {
        return resourceSource;
    }

    public void setResourceSource(String resourceSource) {
        this.resourceSource = resourceSource;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public Long getObjectId() {
        return objectId;
    }

    public void setObjectId(Long objectId) {
        this.objectId = objectId;
    }

    public Long getResourceType() {
        return resourceType;
    }

    public void setResourceType(Long resourceType) {
        this.resourceType = resourceType;
    }

}
